package com.enjoy.anno;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.io.IOException;

/**
 * 注解式启动类
 *
 * @Author Ellison Pei
 * @Date 2021/7/14 09:00
 **/
public class AnnoProvider {
    public static void main(String[] args) throws IOException {
        new AnnotationConfigApplicationContext(AnnoBean.class);
        System.in.read();
    }
}
